<!DOCTYPE html>
<html>
	<head>
		<title>CSS Regions: float overflowing a fixed-sized region</title>
		<link rel="author" title="Mihai Balan" href="mailto:mibalan@adobe.com">
		<link rel="help" href="http://www.w3.org/TR/css3-regions/#the-flow-into-property">
		<meta name="flags" content="ahem">
		<meta name="assert" content="Test checks that floats flowed in a fixed size region and 
				overflowing it do no interact with line boxes outside of the region. This is another
				side effect of the fact that regions create block formatting contexts.">
		<link rel="match" href="reference/floats-in-named-flow-013-ref.html">
		<style>
		article {
			font-family: Ahem;
			font-size: 20px;
			line-height: 1em;
			overflow: hidden;
		}
		.flow {
			flow-into: f;
		}
		.float {
			color: lightblue;
			float: left;
		}
		.region {
			flow-from: f;
			width: 100px;
			height: 40px;
		}

		.region > p {
			background: red;
		}

		.error {
			background: red;
			width: 100px;
			height: 60px;
		}
		</style>
	</head>
	<body>
		<p>
			Test passes if you see a blue square and no red.
		</p>

		<article>
			<div class="flow float">
				<div>
					xxxxx<br>
					xxxxx<br>
					xxxxx<br>
					xxxxx<br>
					xxxxx
				</div>
			</div>
		</article>
		
		<div class="region">
			<p>&nbsp;</p>
		</div>
		<div class="error">zambare</div>
	</body>
</html>